/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.sales.generics.client.utils;

import com.google.inject.Inject;

/**
 *
 * @author v
 */
public class User {

    private String nmUser;
    private boolean isManager = false;

    @Inject
    public User() {

    }

    public User(String nmUser) {
        this.nmUser = nmUser;
    }

    public void setNmUser(String nmUser) {
        this.nmUser = nmUser;
    }

    public String getNmUser() {
        return nmUser;
    }

    public void setIsManager(boolean isManager) {
        this.isManager = isManager;
    }

    public boolean isManager() {
        return isManager;
    }

    public boolean isEmptyUser() {
        return nmUser != null && !"".equals(nmUser);
    }
}
